begintalkscript;

variables;
short bmessage;

begintalknode 1;
	state = -1;
	nextstate = 1;
	question = "Klemens";
	text1 = "Peacechild seemed very angry before, but now that the confusion is over, he seems placid and reserved.";
	text2 = "_Just let me know how I may be of assistance.  I only wish to be friendly, you see._";
	text5 = "Peacechild is still leisurely strolling about his hut.";
	ACTION = INTRO;

begintalknode 2;
	state = 1;
	nextstate = -1;
	question = "To whom did you think you were talking before?";
	text1 = "_That's...  well, some customers have their goods stolen in transit to their destinations.  Then, they come to me as if it's my fault and demand that I produce more to meet their needs._";
	text2 = "_Of course, that's not why you're here, so I apologize.  But yes, even out here, I get hassled._";

begintalknode 3;
	state = 1;
	nextstate = -1;
	condition = get_flag(1,0) < 5;
	question = "(Explain your situation.)";
	text1 = "He smiles.  _Well...  if you can still move, you should be fine.  This'll give you the extra dose of courage you need._";
	code = 
		reset_dialog();
		add_dialog_str(0,"_Ah!  So you need to feel *brave*.  You need to be able to use your hidden power.  Yes, I think I know what you need._",0);
		add_dialog_str(1,"He produces a small, brown vial filled with liquid.",0);
		add_dialog_str(2,"_This stuff is fairly potent, but it'll let you get closer to your locus of power...  it'll help you channel your energies.  I'll let you have a dose at no charge, of course.  Are you interested?_",0);
		add_dialog_choice(0,"Yeah!  Hand it over!");
		add_dialog_choice(1,"Hm...  not so sure.");
		bmessage = run_dialog(1);
		if(bmessage == 2){
			reset_dialog();
			add_dialog_str(0,"_Well, I mean, it's non-toxic, and hey.  I haven't given any soldiers anything that they haven't liked.  I mean, it's your choice, but this liquid courage is pretty nice..._",0);
			add_dialog_str(1,"Liquid courage?  The temptation is too strong.",0);
			add_dialog_choice(0,"Yeah!  Hand it over!");
			bmessage = run_dialog(1);
		}
		reset_dialog();
		add_dialog_str(0,"You quickly grab the vial and down it.  Peacechild seems somewhat shocked.",0);
		add_dialog_str(1,"_That's...  that's significantly more than the average person takes.  I mean...  are you sure?  Certain that you want to be that...  courageous?  I mean...  maybe you don't need it after all.  Because that's..._",0);
		add_dialog_str(2,"His expression changes.  Before, he seemed worried.  But now, his eyelids rest downwards and his frown turns into a smile.",0);
		add_dialog_str(3,"_No, you've got rigorous training...  you're prepared to handle courage no problem.  In fact, I think the extra dose will do you good if you've gotta take on bandits._",0);
		add_dialog_str(4,"_Anyway, that's all I can do for you.  So...  yeah.  Be with peace, friend._",0);
		add_dialog_choice(0,". . .");
		bmessage = run_dialog(1);
		set_flag(1,0,5);
break;

begintalknode 4;
	state = 1;
	nextstate = -1;
	question = "Why do you live so far away from civilization?";
	text1 = "_...that's...  I mean, there are certain people who don't like...  how I do my trade.  I mean, it's a business deal, see?  I mean, you're cool, right?_";

